.history {
  background: $blue-gradient-revert;
  background-color: $dark-blue;
  color: #fff;
  padding: 50px 0 70px 0;
  text-align: center;
  .btn.theme-btn {
    background: transparent;
    color: #fff;
    margin-bottom: 15px;
    border-radius: 2px;
    display: inline-block;
    &:hover,&.current {
      background-color: $color-brown;
      color: #fff;
    }
  }
  .list-btn {
    margin: 40px 0 30px 0;
  }
  .list-cont {
    position: relative;
    // 需要在不同屏幕下调整该值
    min-height: 370px;
  }
  .history-year-transition {
    transition: all .8s;
    transform: scale(1) translateX(0);
    opacity: 1;
    position: absolute;
    top: 0;
    width: 100%;
  }
  .history-year-enter,.history-year-leave {
    opacity: 0;
  }
  .history-year-enter {
    transform: scale(.5) translateX(100%);
  }
  .history-year-leave {
    transform: scale(.5) translateX(-100%);
  }
  .product {
    display: inline-block;
    vertical-align: top;
    width: 18%;
  }
  .year_2011,.year_2012,.year_2013 {
    .product {
      width: 15%;
    }
  }
  .name,.type {
    font-size: 1rem;
    font-weight: bold;
  }
  .icon-mask {
    position: relative;
    overflow: hidden;
    width: 120px;
    height: 120px;
    border-radius: 27px;
    margin: 10px auto;
    border: 1px solid $color-brown;
    background-color: #fff;
    img {
      height: 100%;
    }
  }
}

@media (max-width: $screen-sm-max) {
  .history {
    .icon-mask {
      width: 80px;
      height: 80px;
    }
    .list-cont {
      min-height: 300px;
    }
    .name {
      font-size: 1rem;
    }
    .type {
      opacity: .7;
      font-size: .9rem;
    }
  }
}

@media (max-width: $screen-xs-max) {
  .history {
    .list-cont {
      min-height: 580px;
      margin-top: -30px;
    }
    .icon-mask {
      width: 60px;
      height: 60px;
      border-radius: 15px;
    }
    .product {
      margin: 20px 0 0 0;
      width: 22% !important;
    }
  }
}
